package com.wjm.taopiaopiao;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class StaticReceiver extends BroadcastReceiver {
    static final String ACTION = "com.wjm.app.receiver.ACTION";
    @Override
    public void onReceive(Context context, Intent intent) {
        Toast.makeText(context, "我是插件   收到宿主的消息  静态注册的广播  收到宿主的消息----->", Toast.LENGTH_SHORT).show();
        Log.d("TAG","我是插件   收到宿主的消息  静态注册的广播  收到宿主的消息");
        context.sendBroadcast(new Intent(ACTION));
    }
}
